import json


def build_data(file_path):
    """读取json文件，将数据转换参数化需要的数据"""
    with open(file_path, "r", encoding="utf-8") as fr:
        data = json.load(fr)
        new_list = []
        for item in data:
            new_list.append(tuple(item.values()))
        return new_list


if __name__ == '__main__':
    result = build_data("../data/add_user_data.json")
    print(result)